package com.kaifamiao.N0729;

public class Sup {

    int a = 10;
    static int b = 20;

    static {
        b = 21;
        System.out.println("sup static {}");
    }

    {
        a = 11;
        System.out.println("sup {}");
    }

    public Sup() {
        System.out.println("Sup()");
        print();
    }

    public void print() {
        System.out.println("sup.print()");
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }
}
